package com.chang.bootplus.vo;


import com.chang.bootplus.base.database.Page;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@Data
@Accessors(chain = true)
public class ShopCartVO extends Page {

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("商品id")
    private Long proId;

    @ApiModelProperty("商品个数")
    private Integer count;

    @ApiModelProperty("商品总价")
    private BigDecimal amount;

    @ApiModelProperty("是否结算/结算后移除购物车")
    private Integer payStatus;

    @ApiModelProperty(value = "商品详情(如手机的话显示具体型号，食物的话显示具体口味)",required = true)
    private Map<String,String> mapDetails;

    @ApiModelProperty(value = "商品图片")
    private List<String> listPictures;

}
